package edu.ccut.saturn.basevalidate.businessvalidate;

import edu.ccut.saturn.component.DefaultSaturnValidate;
import edu.ccut.saturn.component.ValidateResult;

public class IsEmptyValidate extends DefaultSaturnValidate {

	public void doValidate(Object value, Object[] args, ValidateResult result) {
		if ("".equals(value)) {
			sendError(_ERROR_, value, result);
		}
	}
}
